import BaseFlowNode from '../BaseFlowNode'
import {assignInWith} from 'lodash'
import {FlowNodeType} from "../../types/index";
import type {FlowNodePropsType,FlowNodeFormConfigType} from "../../types/index";

export default class CopyNode extends BaseFlowNode {
    constructor(props:Partial<FlowNodePropsType>={}) {
      let basePops:FlowNodePropsType= {
        header: { icon: 'icon-chaosongren', title: '抄送人', bgColor: '#5994f3',color:'white' },
        description: '请指定抄送人'
    }
        super(
            '抄送人节点',
            FlowNodeType.COPY,
            assignInWith(basePops,props),
            {}
        )
    }
}
